package com.yourcompany.api.enums;

import lombok.Getter;
import lombok.AllArgsConstructor;

@Getter
@AllArgsConstructor
public enum LoginEventEnum {
    
    LOGIN_SUCCESS(1, "登录成功"),
    LOGIN_FAILED(0, "登录失败"),
    ACCOUNT_NOT_FOUND(0, "账号不存在"),
    PASSWORD_ERROR(0, "密码错误"),
    ACCOUNT_LOCKED(0, "账号已锁定"),
    ACCOUNT_DISABLED(0, "账号已禁用");
    
    private final Integer status;
    private final String message;
    
    public Integer getStatus() {
        return status;
    }
} 